import request from '@/utils/request'

// 查询竞价记录列表
export function listAuctionLogs(query) {
  return request({
    url: '/supply/auctionLogs/list',
    method: 'get',
    params: query
  })
}

// 查询竞价记录详细
export function getAuctionLogs(id) {
  return request({
    url: '/supply/auctionLogs/' + id,
    method: 'get'
  })
}

// 新增竞价记录
export function addAuctionLogs(data) {
  return request({
    url: '/supply/auctionLogs',
    method: 'post',
    data: data
  })
}

// 修改竞价记录
export function updateAuctionLogs(data) {
  return request({
    url: '/supply/auctionLogs',
    method: 'put',
    data: data
  })
}

// 删除竞价记录
export function delAuctionLogs(id) {
  return request({
    url: '/supply/auctionLogs/' + id,
    method: 'delete'
  })
}
